package com.itboy.mall.pms.spuimages.bo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * spu图片编辑对象 mall_spu_images
 *
 * @author itboy
 * @date 2021-08-08
 */
@Data
@ApiModel("spu图片编辑对象")
public class MallSpuImagesEditBo {


    /**
     * id
     */
    @ApiModelProperty("id")
	@JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * spu_id
     */
    @ApiModelProperty("spu_id")
	@JsonSerialize(using = ToStringSerializer.class)
    private Long spuId;

    /**
     * 图片名
     */
    @ApiModelProperty("图片名")
    private String imgName;

    /**
     * 图片地址
     */
    @ApiModelProperty("图片地址")
    private String imgUrl;

    /**
     * 顺序
     */
    @ApiModelProperty("顺序")
    private Long imgSort;

    /**
     * 是否默认图
     */
    @ApiModelProperty("是否默认图")
    private Integer defaultImg;
}
